package com.aaa.entity;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @program: battery
 * @description: 仓库操作日志表
 * @author: 王璐
 * @create: 2018-12-27 15:21
 **/
@Data
public class BackEntrepotRecord {
    private int id;
    private String goodsName;
    private double goodsCost;
    private int goodsQuantity;
    private double total;
    private String operator;
    private int schoolId;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:SS")
    private Date createTime;

    public BackEntrepotRecord(String goodsName, double goodsCost, int goodsQuantity, String operator, int schoolId) {
        this.goodsName = goodsName;
        this.goodsCost = goodsCost;
        this.goodsQuantity = goodsQuantity;
        this.operator = operator;
        this.schoolId = schoolId;
    }
}
